package createModel.BuilderModel.directorBuildPlayer;

/***
 * 抽象类: 抽象方法,组装属性的设置
 */
public abstract class AbstractBuild {

    protected Product product = new Product(); // 组合产品

    abstract void buildPartA(String msg);

    abstract void buildPartB(String msg);

    abstract void buildPartC(String msg);

    abstract void buildPartD(String msg);

    /***
     * 获取产品
     * @return
     */
    public Product getProduct(){
        return product;
    };
}
